<!-- 05.Category_page -->
<div class="container">
    <div class="category-header">
        <h1 class="page-header category-title">{{category.name}}</h1>
        <p class="category-description">{{category.description}}</p>
    </div>
    <div class="category-articles">
        {{#each sections}}
        <section class="section">
            <h3>
        {{#if internal}}
          <span class="visibility-internal" data-title="{{t 'internal'}}">
            <span class="visibility-internal-icon"></span>
          </span>
        {{/if}}
        <a href="{{url}}">{{name}} <span class="fa fa-angle-right"></span></a>
      </h3> {{#if articles}}
            <ul class="article-list">
                {{#each articles}}
                <li {{#if promoted}} class="article-promoted" {{/if}}>
                    {{#if promoted}}
                    <span data-title="{{t 'promoted'}}">★</span> {{/if}}
                    <a href="{{url}}">{{title}}</a>
                </li>
                {{/each}} {{#if more_articles}}
                <a href="{{url}}" class="see-all-articles">
              {{t 'show_all_articles' count=article_count}}
            </a> {{/if}}
            </ul>
            {{else}}
            <i class="section-empty">
          <a href="{{url}}">{{t 'empty'}}</a>
        </i> {{/if}}
        </section>
        {{else}}
        <i class="category-empty">
      <a href="{{category.url}}">{{t 'empty'}}</a>
    </i> {{/each}}
    </div>
</div>
